<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript">
        function tiao(obj){

            location.href = "user/queryProjectByTabs?projectType="+obj;

        }
    </script>
</head>

<body>
<div><h1 >登录的<a th:text="${modelUsers.userName}"></a>您好！</h1></div>

<table>
    <tr>
    <td>类型名</td>
    <td>生日</td>
    </tr>
    <tr th:each="user:${type}">
        <td th:text="${type.typeId}"></td>
        <td th:text="${type.typeName}" onclick="tiao(${type.typeId})"></td>

    </tr>
</table>
</body>
</html>